package com.treasure.mall.zbq.common.ienum.banner;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.treasure.mall.zbq.common.ienum.base.CodeDescCommonEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * banner广告类型
 *
 * @author guomw
 * @version 1.0
 * @date 2019/10/26 16:20
 */
@Getter
@AllArgsConstructor
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum BannerType implements CodeDescCommonEnum {
    /**
     *
     */
    NONE(0, "无链接"),
    GOODS(1, "商品详情"),
    EXTERNAL(2, "外部跳转"),
    INVITE(3, "邀请页面"),
    UPGRADE(4, "推广页面"),
    SHOP(5, "店铺首页"),
    LIVE(6, "直播"),

    ;

    private Integer code;
    private String desc;
}
